import { useState } from 'react';
import { Button } from 'antd';
export default function Text(){
    const [value,setValue]=useState(0);
    return(<Button  onClick={()=>setValue(value+1)}>{value}
    </Button>);
}